package org.usp.poli.bipt.server.bd;

import com.google.appengine.api.datastore.Key;

import javax.jdo.annotations.IdGeneratorStrategy;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;
import javax.jdo.annotations.IdentityType;


@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class MetaDataBD {
@PrimaryKey
@Persistent(valueStrategy = IdGeneratorStrategy.IDENTITY)
private Key keyMetaData;

@Persistent
private String title = null;

@Persistent
private String types = null;

@Persistent
private String contactName = null;

@Persistent
private String contactEmail = null;

@Persistent
private String updateLogo = null;

@Persistent
private String description = null;

@Persistent
private BasicMetadataTypesBD basicMetadataTypes = null;

@Persistent
private GeneralKeywordsBD generalKeywords = null;

@Persistent
private GeographicCoverageBD geographicCoverage = null;

@Persistent
private IPRightBD ipRights = null;

@Persistent
private MethodsBD methods = null;

@Persistent
private ResearchProjectBD researchProject = null;

@Persistent
private ResourceOriginatorBD resourceOriginator = null;

@Persistent
private TaxonomicCoverageBD taxonomicCoverage = null;

@Persistent
private TemporalCoverageBD temporalCoverage = null;

@Persistent
private LowestCommonTaxBD lowestCommonTax = null;


public void setTitle(String title) {
	this.title = title;
}

public String getTitle() {
	return title;
}

public void setContactName(String contactName) {
	this.contactName = contactName;
}

public String getContactName() {
	return contactName;
}

public void setContactEmail(String contactEmail) {
	this.contactEmail = contactEmail;
}

public String getContactEmail() {
	return contactEmail;
}

public void setUpdateLogo(String updateLogo) {
	this.updateLogo = updateLogo;
}

public String getUpdateLogo() {
	return updateLogo;
}

public void setDescription(String description) {
	this.description = description;
}

public String getDescription() {
	return description;
}



public void setKeyMetaData(Key keyMetaData) {
	this.keyMetaData = keyMetaData;
}



public Key getKeyMetaData() {
	return keyMetaData;
}


public void setBasicMetadataTypes(BasicMetadataTypesBD basicMetadataTypes) {
	this.basicMetadataTypes = basicMetadataTypes;
}



public BasicMetadataTypesBD getBasicMetadataTypes() {
	return basicMetadataTypes;
}



public void setGeographicCoverage(GeographicCoverageBD geographicCoverage) {
	this.geographicCoverage = geographicCoverage;
}



public GeographicCoverageBD getGeographicCoverage() {
	return geographicCoverage;
}



public void setGeneralKeywords(GeneralKeywordsBD generalKeywords) {
	this.generalKeywords = generalKeywords;
}



public GeneralKeywordsBD getGeneralKeywords() {
	return generalKeywords;
}



public void setIpRights(IPRightBD ipRights) {
	this.ipRights = ipRights;
}



public IPRightBD getIpRights() {
	return ipRights;
}



public void setMethods(MethodsBD methods) {
	this.methods = methods;
}



public MethodsBD getMethods() {
	return methods;
}



public void setResearchProject(ResearchProjectBD researchProject) {
	this.researchProject = researchProject;
}



public ResearchProjectBD getResearchProject() {
	return researchProject;
}



public void setTemporalCoverage(TemporalCoverageBD temporalCoverage) {
	this.temporalCoverage = temporalCoverage;
}



public TemporalCoverageBD getTemporalCoverage() {
	return temporalCoverage;
}



public void setTaxonomicCoverage(TaxonomicCoverageBD taxonomicCoverage) {
	this.taxonomicCoverage = taxonomicCoverage;
}



public TaxonomicCoverageBD getTaxonomicCoverage() {
	return taxonomicCoverage;
}



public void setResourceOriginator(ResourceOriginatorBD resourceOriginator) {
	this.resourceOriginator = resourceOriginator;
}



public ResourceOriginatorBD getResourceOriginator() {
	return resourceOriginator;
}



public void setLowestCommonTax(LowestCommonTaxBD lowestCommonTax) {
	this.lowestCommonTax = lowestCommonTax;
}



public LowestCommonTaxBD getLowestCommonTax() {
	return lowestCommonTax;
}



public void setTypes(String types) {
	this.types = types;
}



public String getTypes() {
	return types;
}


}
